package modles

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string
	Password string
}
type Role struct {
	gorm.Model
	RoleName string
}
type Node struct {
	gorm.Model
	NodeName string
}
type UserRole struct {
	gorm.Model
	Uid int
	Rid int
}
type RoleNode struct {
	gorm.Model
	Rid int
	Nid int
}
type Car struct {
	gorm.Model
	CarCode string
	CarName string
}
type CarOrder struct {
	gorm.Model
	OrderCode  string
	OrderName  string
	OrderPrice int
	Cid        int
}
type CarOrderList struct {
	OrderId    int
	CarCode    string
	CarName    string
	OrderCode  string
	OrderName  string
	OrderPrice int
}
